import requests from '@/utils/request'

// 上传图片
export const UploadImage = (data) => {
  return requests({
    url: '/v1/media/image/upload/',
    method: 'post',
    headers: {
      'Content-Type': 'multipart/form-data',
    },
    data,
  })
}